package com.newlink.building.userinfo.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.newlink.building.common_base.model.bean.FamilyManagementListData1
import com.newlink.building.userinfo.R


class Module_UserInfo_MemberPickAdapter(data: MutableList<FamilyManagementListData1>) :
    BaseQuickAdapter<FamilyManagementListData1, BaseViewHolder>(R.layout.item_member_pick, data) {

    init {
        addChildClickViewIds(R.id.container_account_pick)
    }

    override fun convert(holder: BaseViewHolder, item: FamilyManagementListData1) {
        holder.setText(R.id.tv_account, item.name)
    }
}